package com.igoal.dto;

import com.igoal.entity.ICommentEntry;
import com.igoal.entity.Entry;


public abstract class BaseCommentDTO<E extends Entry, T extends ICommentEntry<E>> extends BaseDTO<T> {
	protected Long parentId;
	protected Long ownerId;
	protected String ownerName;
	protected Long entryId;
	protected String title;
	protected String name;
	protected String userIP;
	protected Integer childrenCount;
	protected Integer level;
	protected String comment;
	protected String avatarURL;

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Long getParentId() {
		return parentId;
	}

	public Long getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public Long getEntryId() {
		return entryId;
	}

	public void setEntryId(Long entryId) {
		this.entryId = entryId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUserIP() {
		return userIP;
	}

	public void setUserIP(String userIP) {
		this.userIP = userIP;
	}

	public Integer getChildrenCount() {
		return childrenCount;
	}

	public void setChildrenCount(Integer childrenCount) {
		this.childrenCount = childrenCount;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getAvatarURL() {
		return avatarURL;
	}

	public void setAvatarURL(String avatarURL) {
		this.avatarURL = avatarURL;
	}

	public void setYouLikeThis(boolean likeThis) {
		this.isYouLikeThis = likeThis;
	}

	public boolean getYouLikeThis() {
		return this.isYouLikeThis;
	}
}
